package com.hs.service;

import com.github.pagehelper.PageInfo;
import com.hs.entity.MyNotice;

import java.util.List;

public interface MyNoticeService {
    //增
    int addMyNotice(MyNotice myNotice);
    //删
    int deleteMyNotice(int id);
    //改
    int updateMyNotice(MyNotice myNotice);
    //查
    List<MyNotice> getMyNoticeById(int id);
    //分页查
    PageInfo<MyNotice> getMyNoticeByPage(int pageNum, int pageSize);
}
